from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^api/v1.0/areas/$', views.AreasView.as_view()),
    url(r'^api/v1.0/houses/$', views.NewHouseView.as_view()),
    url(r'^api/v1.0/houses/(?P<house_id>\d+)/images/$', views.NewHouseImageView.as_view()),
    url(r'^api/v1.0/user/houses/$', views.UserHouseView.as_view()),
    url(r'^api/v1.0/houses/index/$', views.IndexImageView.as_view()),
    url(r'^api/v1.0/houses/(?P<house_id>\d+)/$', views.DetailView.as_view())
]